package com.ruoyi.datamanagement.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 数据源对象 data_sources
 *
 * @author anan
 * @date 2021-01-09
 */
@Data
@TableName(value = "data_sources")
public class DataSources extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long dataSourceId;

    /** 数据源名称 */
    @Excel(name = "数据源名称")
    private String name;

    /** URL */
    @Excel(name = "URL")
    private String url;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 驱动 */
    @Excel(name = "驱动")
    private String driver;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** 数据库类型 */
    @Excel(name = "数据库类型")
    private String databasetype;

}
